<table class="table table-bordered table-stripped">
<a href="<?php echo site_url()?>/dashboard/tambah" class="btn btn-warning">tambah</a>
	<tr>
		<th>no</th>
		<th>kategori</th>
		<th>Aksi</th>
	</tr>

	<?php $no=1?>
	<?php foreach ($kategori as $n):?>
	<tr>
		<td><?php echo $no?></td>
		<td><?php echo $n->kategori?></td>
		<td>
		<a href="" class="btn btn-warning">Update</a>
		<a href="" class="btn btn-danger">Hapus</a>
		</td>
	</tr>
	<?php $no++?>

<?php endforeach?>

</table>
